package com.ning.ems.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.stereotype.Repository;

import java.io.Serializable;

/**
 * @author Ning 242741154@qq.com
 * @date 2020/3/4 20:06
 */
@Data
@Repository
@ApiModel("Entity-Address")
public class Address implements Serializable {
    @ApiModelProperty("Primary key")
    private Integer id;

    @ApiModelProperty("owner id")
    private Integer owner;

    @ApiModelProperty("contact number")
    private String contactNumber;

    @ApiModelProperty("province id")
    private Integer province;

    @ApiModelProperty("exact address")
    private String exactAddr;
}
